package com.woniu34.order.domain;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Table(name = "tb_order")
public class Order {

    @Id
    private Long orderId;
    private Integer orderTotalDiscount;
    private Long userId;
    private Integer orderStatus;
    private Integer orderCount;
    private Long orderTotalPay;
    private Long OrderTotal;
    private Long fareMoney;
    private Date orderTime;
    private Long HallMovieId;
    private Long UserCouponId;
    private Integer showFlag;
    private Long cinemaId;
    private Long movieId;


    @Override
    public String toString() {
        return "Order{" +
                "orderId=" + orderId +
                ", orderTotalDiscount=" + orderTotalDiscount +
                ", userId=" + userId +
                ", orderStatus=" + orderStatus +
                ", orderCount=" + orderCount +
                ", orderTotalPay=" + orderTotalPay +
                ", OrderTotal=" + OrderTotal +
                ", fareMoney=" + fareMoney +
                ", orderTime=" + orderTime +
                ", HallMovieId=" + HallMovieId +
                ", UserCouponId=" + UserCouponId +
                ", showFlag=" + showFlag +
                ", cinemaId=" + cinemaId +
                ", movieId=" + movieId +
                '}';
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Integer getOrderTotalDiscount() {
        return orderTotalDiscount;
    }

    public void setOrderTotalDiscount(Integer orderTotalDiscount) {
        this.orderTotalDiscount = orderTotalDiscount;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Integer getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(Integer orderStatus) {
        this.orderStatus = orderStatus;
    }

    public Integer getOrderCount() {
        return orderCount;
    }

    public void setOrderCount(Integer orderCount) {
        this.orderCount = orderCount;
    }

    public Long getOrderTotalPay() {
        return orderTotalPay;
    }

    public void setOrderTotalPay(Long orderTotalPay) {
        this.orderTotalPay = orderTotalPay;
    }

    public Long getOrderTotal() {
        return OrderTotal;
    }

    public void setOrderTotal(Long orderTotal) {
        OrderTotal = orderTotal;
    }

    public Long getFareMoney() {
        return fareMoney;
    }

    public void setFareMoney(Long fareMoney) {
        this.fareMoney = fareMoney;
    }

    public Date getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(Date orderTime) {
        this.orderTime = orderTime;
    }

    public Long getHallMovieId() {
        return HallMovieId;
    }

    public void setHallMovieId(Long hallMovieId) {
        HallMovieId = hallMovieId;
    }

    public Long getUserCouponId() {
        return UserCouponId;
    }

    public void setUserCouponId(Long userCouponId) {
        UserCouponId = userCouponId;
    }

    public Integer getShowFlag() {
        return showFlag;
    }

    public void setShowFlag(Integer showFlag) {
        this.showFlag = showFlag;
    }

    public Long getCinemaId() {
        return cinemaId;
    }

    public void setCinemaId(Long cinemaId) {
        this.cinemaId = cinemaId;
    }

    public Long getMovieId() {
        return movieId;
    }

    public void setMovieId(Long movieId) {
        this.movieId = movieId;
    }
}
